import { Module } from '@nestjs/common';
import { ArticleCommentService } from './article-comment.service';
import { ArticleCommentController } from './article-comment.controller';
import { AuthModule } from '../auth/auth.module'
import { TypeOrmModule } from '@nestjs/typeorm'
import { User } from '../../entities/user.entity'
import { Article } from '../../entities/article.entity'
import { ArticleMoment } from '../../entities/articleMoment.entity'


@Module({
  imports: [TypeOrmModule.forFeature([User, Article, ArticleMoment]), AuthModule],
  providers: [ArticleCommentService],
  controllers: [ArticleCommentController],
  exports: [ArticleCommentService]
})
export class ArticleCommentModule { }
